// P1280 write by cn_ryh